.w-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: $border-radius;
  border: $border;

  &--tile {
    border-radius: 0;
  }
  &--shadow {
    box-shadow: $box-shadow;
  }
  &--no-border,
  &--shadow {
    border: none;
  }

  &__title {
    display: flex;
    align-items: center;
    padding: (2 * $base-increment) (3 * $base-increment);
    font-size: 1.3em;
    border-bottom: $border;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;

    &--has-toolbar {
      padding: 0;
      border-bottom: none;
    }
  }

  &__content {
    // padding: 3 * $base-increment;
    flex-grow: 1;
  }

  &__actions {
    display: flex;
    padding: (2 * $base-increment) (3 * $base-increment) (3 * $base-increment);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;

    &--has-toolbar {
      padding: 0;
    }
  }
}
